package cn.rkylin.oms.system.stockpush.dao;

import java.util.List;

import cn.rkylin.oms.system.stockpush.domain.StockFmla;
import cn.rkylin.oms.system.stockpush.vo.StockFmlaVO;

public interface IStockFmlaDAO {
    int deleteByPrimaryKey(String fmlaId) throws Exception;

    int insert(StockFmla record) throws Exception;

    int insertSelective(StockFmla record) throws Exception;

    StockFmla selectByPrimaryKey(String fmlaId) throws Exception;

    int updateByPrimaryKeySelective(StockFmla record) throws Exception;

    int updateByPrimaryKey(StockFmla record) throws Exception;
    
    /**
     * selectBySelectiveValue:根据查询条件获取库存公式列表信息. <br/>
     *
     * @author zhanghao
     * @param stockFmlaVO
     * @return
     * @throws Exception
     * @since JDK 1.6
     */
    List<StockFmla> selectBySelectiveValue(StockFmlaVO stockFmlaVO) throws Exception;
}